激安VPS contaboを使ってみた
https://gyazo.com/8eab7c3851864620ec5d136672c69590
基本的なCloud VPSプランの料金表は以下の通り
https://gyazo.com/11a235a213da6ffe1ee68f4cb3684183
4vCPU-6GBでストレージが400GBついてるインスタンスが最安5.5ドルからという破格の価格設定がされている
加えて日本リージョンがあり、こちらは+2.25ドルで合計7.75ドルから
今の為替レートだと1000円を超えてしまうのが悔しいが、それを加味しても十分にやすい
Indigoもかなり安い方ではあるのだが、ネットワーク周り、特にUDPに関する挙動が異常なので、同価格帯でやすい選択肢を探しており、Setup Feeが無料になっている今のタイミングでいっちょ契約してみた unixbench
code:unixbench
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: localhost: GNU/Linux
OS: GNU/Linux -- 5.15.0-25-generic -- #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 Machine: x86_64 (x86_64)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: AMD EPYC 7282 16-Core Processor (5589.5 bogomips)
Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
CPU 1: AMD EPYC 7282 16-Core Processor (5589.5 bogomips)
Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
CPU 2: AMD EPYC 7282 16-Core Processor (5589.5 bogomips)
Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
CPU 3: AMD EPYC 7282 16-Core Processor (5589.5 bogomips)
Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
22:08:00 up 6:07, 3 users, load average: 0.05, 0.01, 0.00; runlevel 2024-03-16
------------------------------------------------------------------------
Benchmark Run: Sat Mar 16 2024 22:08:00 - 22:36:00
4 CPUs in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 33315510.2 lps (10.0 s, 7 samples)
Double-Precision Whetstone 6578.9 MWIPS (9.9 s, 7 samples)
Execl Throughput 3056.6 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 942159.8 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 270952.0 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 1755554.2 KBps (30.0 s, 2 samples)
Pipe Throughput 1625760.3 lps (10.0 s, 7 samples)
Pipe-based Context Switching 149168.5 lps (10.0 s, 7 samples)
Process Creation 5225.8 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 7708.3 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 3013.6 lpm (60.0 s, 2 samples)
System Call Overhead 2006974.2 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 33315510.2 2854.8
Double-Precision Whetstone 55.0 6578.9 1196.2
Execl Throughput 43.0 3056.6 710.8
File Copy 1024 bufsize 2000 maxblocks 3960.0 942159.8 2379.2
File Copy 256 bufsize 500 maxblocks 1655.0 270952.0 1637.2
File Copy 4096 bufsize 8000 maxblocks 5800.0 1755554.2 3026.8
Pipe Throughput 12440.0 1625760.3 1306.9
Pipe-based Context Switching 4000.0 149168.5 372.9
Process Creation 126.0 5225.8 414.7
Shell Scripts (1 concurrent) 42.4 7708.3 1818.0
Shell Scripts (8 concurrent) 6.0 3013.6 5022.7
System Call Overhead 15000.0 2006974.2 1338.0
========
System Benchmarks Index Score 1426.0
------------------------------------------------------------------------
Benchmark Run: Sat Mar 16 2024 22:36:00 - 23:04:03
4 CPUs in system; running 4 parallel copies of tests
Dhrystone 2 using register variables 131996365.0 lps (10.0 s, 7 samples)
Double-Precision Whetstone 26050.0 MWIPS (10.0 s, 7 samples)
Execl Throughput 9175.6 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 3443159.9 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 934984.3 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 5970759.5 KBps (30.0 s, 2 samples)
Pipe Throughput 6039524.2 lps (10.0 s, 7 samples)
Pipe-based Context Switching 555446.9 lps (10.0 s, 7 samples)
Process Creation 21923.8 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 21039.2 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 3115.4 lpm (60.0 s, 2 samples)
System Call Overhead 7643096.7 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 131996365.0 11310.7
Double-Precision Whetstone 55.0 26050.0 4736.4
Execl Throughput 43.0 9175.6 2133.9
File Copy 1024 bufsize 2000 maxblocks 3960.0 3443159.9 8694.8
File Copy 256 bufsize 500 maxblocks 1655.0 934984.3 5649.5
File Copy 4096 bufsize 8000 maxblocks 5800.0 5970759.5 10294.4
Pipe Throughput 12440.0 6039524.2 4854.9
Pipe-based Context Switching 4000.0 555446.9 1388.6
Process Creation 126.0 21923.8 1740.0
Shell Scripts (1 concurrent) 42.4 21039.2 4962.1
Shell Scripts (8 concurrent) 6.0 3115.4 5192.3
System Call Overhead 15000.0 7643096.7 5095.4
========
System Benchmarks Index Score 4596.8
ネットワーク
「通信しまくると100Mbpsに制限するよ!」の未制限時測定、カタログスペック200Mbps状態です
code:contabo
# speedtest --server-id=24333
Speedtest by Ookla
Server: Rakuten Mobile, Inc - Tokyo (id: 24333)
ISP: Deutsche Telekom AG
Idle Latency: 2.40 ms (jitter: 0.15ms, low: 2.16ms, high: 2.52ms)
Download: 196.87 Mbps (data used: 204.1 MB)
278.67 ms (jitter: 73.22ms, low: 4.40ms, high: 727.61ms)
Upload: 188.20 Mbps (data used: 84.8 MB)
156.81 ms (jitter: 46.04ms, low: 1.84ms, high: 285.38ms)
Packet Loss: 0.0%
自動サーバ決定にするとロンドンのサーバになるので手動選択している
サーバ自体は東京で間違いなさそうなのだが、IPがContabo本国のIPなのが微妙に扱いづらい
GDPR対策でEU近辺のIPを弾いていたり、そもそも日本のIP以外弾いているサービスとの接続には使えない
ここらへん予定があったのでCloudflare Warpを突っ込んでみたが、trace結果はcol=NRTの割にpingが明らかに日本で完結している大きさではなかったのでいろいろ難しそうだった code:warp
# speedtest --server-id=21569
Speedtest by Ookla
Server: i3D.net - Tokyo (id: 21569)
ISP: Cloudflare Warp
Idle Latency: 489.22 ms (jitter: 0.90ms, low: 487.93ms, high: 489.58ms)
Download: 186.86 Mbps (data used: 253.5 MB)
659.20 ms (jitter: 71.81ms, low: 487.86ms, high: 817.76ms)
Upload: 197.31 Mbps (data used: 204.0 MB)
701.53 ms (jitter: 70.37ms, low: 495.98ms, high: 923.89ms)
Packet Loss: 12.1%
プロキシモードにすると安定したけど全部プロキシ対応考えるのは若干めんどい
code:warp_proxy
Speedtest by Ookla
Server: Contabo - Tokyo (id: 56935)
ISP: Cloudflare Warp
Idle Latency: 0.48 ms (jitter: 0.55ms, low: 0.26ms, high: 1.33ms)
Download: 200.07 Mbps (data used: 90.1 MB)
126.34 ms (jitter: 37.86ms, low: 1.19ms, high: 306.07ms)
Upload: 190.89 Mbps (data used: 85.9 MB)
134.60 ms (jitter: 40.92ms, low: 3.59ms, high: 322.73ms)
Packet Loss: 0.0%
code:warp_proxy2
Speedtest by Ookla
Server: i3D.net - Tokyo (id: 21569)
ISP: Cloudflare Warp
Idle Latency: 0.39 ms (jitter: 0.07ms, low: 0.36ms, high: 0.49ms)
Download: 197.09 Mbps (data used: 93.8 MB)
145.68 ms (jitter: 42.34ms, low: 0.48ms, high: 351.94ms)
Upload: 190.77 Mbps (data used: 85.8 MB)
128.68 ms (jitter: 39.28ms, low: 0.82ms, high: 319.75ms)
Packet Loss: 21.1%
解約したい!
Twitterで検索した感じの安定感の評判とIPのASNで解約に至りました…
決断まで14日経ってなかったのでRefundしてもらえるみたいです
code:iperf
# iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from REDACTED, port 50177 ID Interval Transfer Bitrate Jitter Lost/Total Datagrams 5 0.00-1.00 sec 11.2 MBytes 93.9 Mbits/sec 0.133 ms 451/8837 (5.1%) 5 1.00-2.00 sec 11.9 MBytes 100 Mbits/sec 0.188 ms 0/8947 (0%) 5 2.00-3.01 sec 12.0 MBytes 99.5 Mbits/sec 0.765 ms 0/8968 (0%) 5 3.01-4.00 sec 11.9 MBytes 101 Mbits/sec 0.147 ms 0/8929 (0%) 5 4.00-5.00 sec 11.8 MBytes 99.3 Mbits/sec 0.140 ms 0/8863 (0%) 5 5.00-6.00 sec 11.7 MBytes 97.8 Mbits/sec 0.144 ms 237/8971 (2.6%) 5 6.00-7.00 sec 11.9 MBytes 100 Mbits/sec 0.153 ms 0/8947 (0%) 5 7.00-8.00 sec 11.8 MBytes 98.7 Mbits/sec 0.165 ms 93/8908 (1%) 5 8.00-9.00 sec 11.9 MBytes 100 Mbits/sec 0.166 ms 0/8928 (0%) 5 9.00-10.00 sec 11.9 MBytes 99.9 Mbits/sec 0.112 ms 13/8928 (0.15%) - - - - - - - - - - - - - - - - - - - - - - - - -
ID Interval Transfer Bitrate Jitter Lost/Total Datagrams 5 0.00-10.00 sec 118 MBytes 99.0 Mbits/sec 0.112 ms 794/89226 (0.89%) receiver -----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from REDACTED, port 50182 ID Interval Transfer Bitrate 5 0.00-1.00 sec 23.0 MBytes 193 Mbits/sec 5 1.00-2.00 sec 23.6 MBytes 198 Mbits/sec 5 2.00-3.00 sec 23.5 MBytes 197 Mbits/sec 5 3.00-4.00 sec 23.1 MBytes 194 Mbits/sec 5 4.00-5.00 sec 23.4 MBytes 196 Mbits/sec 5 5.00-6.00 sec 23.6 MBytes 198 Mbits/sec 5 6.00-7.00 sec 23.4 MBytes 197 Mbits/sec 5 7.00-8.00 sec 23.4 MBytes 197 Mbits/sec 5 8.00-9.00 sec 23.6 MBytes 198 Mbits/sec 5 9.00-10.00 sec 23.5 MBytes 197 Mbits/sec 5 10.00-10.11 sec 2.63 MBytes 197 Mbits/sec - - - - - - - - - - - - - - - - - - - - - - - - -
ID Interval Transfer Bitrate 5 0.00-10.11 sec 237 MBytes 196 Mbits/sec receiver -----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------